package com.cc.micro.dataService.service.impl;

import com.cc.micro.api.model.BidInfo;
import com.cc.micro.api.service.BidInfoService;
import com.cc.micro.api.vo.InvestRankView;
import com.cc.micro.dataService.mapper.BidInfoMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
 * <p>
 * 投资记录表 服务实现类
 * </p>
 *
 * @author cc
 * @since 2023-07-01
 */
@DubboService(interfaceClass = BidInfoService.class,version = "1.0")
public class BidInfoServiceImpl extends ServiceImpl<BidInfoMapper, BidInfo> implements BidInfoService {
    @Override
    public List<InvestRankView> showRank() {
        List<InvestRankView> rankList=baseMapper.showRank();
        return rankList;
    }
}
